package com.tian.enums;

import lombok.Getter;

/**
 * {@code @description:} 支付渠道枚举类
 *
 * @author tianwc 公众号：Java后端技术全栈
 * 在线刷题 1200+java面试题和1000+篇技术文章：<a href="https://woaijava.cc/">博客地址</a>
 * {@code @date:} 2024-11-23 17:00
 * {@code @version:} 1.0
 */
@Getter
public enum PaymentChannelEnum {
    ALIPAY(1, "支付宝"),
    WECHAT(2, "微信");
    private final int channel;
    private final String channelName;

    PaymentChannelEnum(int channel, String channelName) {
        this.channel = channel;
        this.channelName = channelName;
    }
}
